<template>
  <div>
    <table cellpadding="0" cellspacing="0" class="recepit_table2">
      <tbody>
        <tr>
          <td class="tit">单号</td>
          <td>{{ receiptsDetail.code || '' }}</td>
          <td class="tit"> 来源 </td>
          <td>{{ receiptsDetail.from || '' }}</td>
          <td class="tit">创建人</td>
          <td>{{ receiptsDetail.tenant_no || '' }}</td>
          <td class="tit">创建时间</td>
          <td>{{ receiptsDetail.create_time }}</td>
        </tr>
        <tr>
          <td class="tit">扣减积分</td>
          <td>{{ receiptsDetail.send_points || '' }}</td>
          <td class="tit"> 扣减礼金 </td>
          <td>{{ receiptsDetail.send_cash || '' }}</td>
          <td class="tit">扣减人数</td>
          <td>{{ receiptsDetail.send_member || '' }}</td>
          <td class="tit">审核状态</td>
          <td class="ele-text-primary">{{
            receiptsDetail.status_name || ''
          }}</td>
        </tr>
        <tr>
          <td class="tit">扣减原因</td>
          <td colspan="3">{{ receiptsDetail.send_cause || '' }}</td>
          <td class="tit"> 备注 </td>
          <td colspan="3">{{ receiptsDetail.note || '' }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script setup>
  import { ref, reactive, unref, onMounted } from 'vue';

  const props = defineProps({
    receiptsDetail: Object,
    isBaoyi: {
      type: Boolean,
      default: false
    }
  });
</script>

<style></style>
